package com.kimho.user.persistence;

import java.util.List;
import java.util.Map;

import com.kimho.core.PageInfo;
import com.kimho.user.domain.User;

public interface UserMapper {
	Long getTotal();
	List<User> login(Map<String,Object> param);
	List<User> getUser(Map<String,Object> param);
	List<User> getUserList(PageInfo pi);
	void insertUser(User user);
	void updateUser(User user);
	void updateUserRole(Map<String,Object> param);
	void deleteUser(Map<String,Object> param);
	void deleteUserRole(Map<String,Object> param);
	void changeUserPassword(Map<String,Object> param);
}
